//package com.pro.common.modules.service.dependencies.config.component;
//
//import org.springframework.http.HttpOutputMessage;
//import org.springframework.http.converter.StringHttpMessageConverter;
//import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
//
//import java.io.IOException;
//import java.nio.charset.StandardCharsets;
//
//public class CustomStringHttpMessageConverter extends StringHttpMessageConverter {
//    MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter;
//    public CustomStringHttpMessageConverter(MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter) {
//        super(StandardCharsets.UTF_8);
//        this.mappingJackson2HttpMessageConverter = mappingJackson2HttpMessageConverter;
//    }
//
//    @Override
//    protected void writeInternal(String str, HttpOutputMessage outputMessage) throws IOException {
////        mappingJackson2HttpMessageConverter.writeInternal(str, outputMessage);
//        super.writeInternal(str, outputMessage);
//    }
//}
